// import Versions from './components/Versions'
// import electronLogo from './assets/electron.svg'
// import '@renderer/utils/keyboard'
function App(): React.JSX.Element {
  // const ipcHandle = (): void => window.electron.ipcRenderer.send('ping')
  console.log(window)
  const addKeyBoardListener = (): void =>
    window.api.addKeyBoardListener('4', (e) => {
      console.log(e)
    })
  return (
    <>
      <div>
        <button onClick={addKeyBoardListener}>监听4</button>
      </div>
    </>
  )
}

export default App
